package sardine.route;


/**
 * @auth bruce-sha
 * @date 2015/5/21
 */
public final class RouteMatcherFactory {

    private RouteMatcherFactory() {
    }

    static class RouteMatcherFactoryHolder {
        static final SimpleRouteMatcher instance = new SimpleRouteMatcher();
    }

    public static synchronized SimpleRouteMatcher singleton() {
        return RouteMatcherFactoryHolder.instance;
    }
}
